/*    */ package com.dvnchina.boss;
/*    */ 
/*    */ import java.io.BufferedReader;
/*    */ import java.io.File;
/*    */ import java.io.FileNotFoundException;
/*    */ import java.io.FileReader;
/*    */ import java.io.IOException;
/*    */ import java.io.PrintStream;
/*    */ 
/*    */ public class Readforsql
/*    */ {
/*    */   public static void main(String[] args)
/*    */   {
/* 16 */     String url = "D:\\fee1.txt";
/*    */     try {
/* 18 */       BufferedReader reader = new BufferedReader(new FileReader(new File(url)));
/* 19 */       String str = "";
/* 20 */       while (reader.read() != -1) {
/* 21 */         str = reader.readLine();
/* 22 */         String[] arrs = str.split("&");
/* 23 */         String sql = "insert into fee1 values (" + arrs[0] + "," + arrs[1] + "," + arrs[2] + "," + arrs[3].trim() + "," + arrs[4].trim() + "," + arrs[5].trim() + ");";
/* 24 */         System.out.println(sql);
/*    */       }
/*    */     }
/*    */     catch (FileNotFoundException e)
/*    */     {
/* 29 */       e.printStackTrace();
/*    */     }
/*    */     catch (IOException e) {
/* 32 */       e.printStackTrace();
/*    */     }
/*    */   }
/*    */ }

/* Location:           F:\JavaProjects\FileUtil\bin\
 * Qualified Name:     com.dvnchina.boss.Readforsql
 * JD-Core Version:    0.6.0
 */